<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>    
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
	
		<!--引入jquery-->
		<script src="${pageContext.request.contextPath}/js/jquery-3.3.1.js" type="text/javascript" charset="utf-8"></script>
		<!--引入bootsrap-->
		<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/css/bootstrap.css"/>
		<script src="${pageContext.request.contextPath}/js/bootstrap.js" type="text/javascript" charset="utf-8"></script>
		
		<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/css/user/goods.css"/>
	
	
		
	
	</head>
	<body>
		
		<!--导航条-->
		<jsp:include page="/user/header.jsp"></jsp:include>
		
		
			
			<div id="room">	
				<c:forEach var="hotelinfor" items="${hotelinfor }">					
					<div class="rmitem">
						<a id="one" href="${pageContext.request.contextPath }/ProductServlet?action=Ui&hid=${hotelinfor.hid }&pid=${user.pid }">
							<img src="${pageContext.request.contextPath }/image/${hotelinfor.hImg }">
						</a>
						<p><a id="two" href="" >${hotelinfor.hname }</a></p>
						<p id="three" class="price"> &yen;${hotelinfor.hprice }</p>					
					</div>					
				</c:forEach>								
			</div>
		
		
		<jsp:include page="/user/footed.jsp"></jsp:include>
		
</body>
</html>